
//
// 130426 - AH - Created-
//

package org.japril.swing.jutil.xmloperations;

import org.japril.jutil.xmloperations.XmlOperations;

/**
 * <p>
 *   Interface for objects that compiles report on 
 *   {@link XmlOperations}.
 * </p>
 * @author Arne Halvorsen (AH)
 */
public interface XmlOperationsReportCompiler
{
  /**
   * <p>
   *   Gets MIME type.
   * </p>
   * @return MIME type.
   */
  String getMimeType();
  
  /**
   * <p>
   *   Gets type to use for file type.
   * </p>
   * @return Type.
   */
  String getFileType();
  
  /**
   * <p>
   *   Compiles.
   * </p>
   * @param ops {@link XmlOperations} to compile report for.
   * @return Report.
   */
  String compile(XmlOperations ops);
  
}
